package com.huluobo.jetpackkotlindemo.paging.db

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * Created by lc on 2022/12/21.
 *
 */
@Entity
data class RepoEntity(
    @PrimaryKey val id: Int,
    @ColumnInfo(name = "name") val name: String,
    @ColumnInfo(name = "description") val description: String,
    @ColumnInfo(name = "star_count") val starCount: String,
    @ColumnInfo(name = "page") val page: Int
)